package com.frcdi.qms.equipment.mapper;

import com.frcdi.qms.equipment.domain.EquipmentValidation;

import java.util.List;

/**
 * 设备验证记录Mapper接口
 * 
 * @author cell
 * @date 2023-12-19
 */
public interface EquipmentValidationMapper 
{
    /**
     * 查询设备验证记录
     * 
     * @param validationId 设备验证记录主键
     * @return 设备验证记录
     */
    public EquipmentValidation selectEquipmentValidationByValidationId(Long validationId);

    /**
     * 查询设备验证记录列表
     * 
     * @param equipmentValidation 设备验证记录
     * @return 设备验证记录集合
     */
    public List<EquipmentValidation> selectEquipmentValidationList(EquipmentValidation equipmentValidation);

    /**
     * 新增设备验证记录
     * 
     * @param equipmentValidation 设备验证记录
     * @return 结果
     */
    public int insertEquipmentValidation(EquipmentValidation equipmentValidation);

    /**
     * 修改设备验证记录
     * 
     * @param equipmentValidation 设备验证记录
     * @return 结果
     */
    public int updateEquipmentValidation(EquipmentValidation equipmentValidation);

    /**
     * 删除设备验证记录
     * 
     * @param validationId 设备验证记录主键
     * @return 结果
     */
    public int deleteEquipmentValidationByValidationId(Long validationId);

    /**
     * 批量删除设备验证记录
     * 
     * @param validationIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEquipmentValidationByValidationIds(Long[] validationIds);
}
